package md.mru.core.dtos;

/**
 * @author sergiu.marin
 * @since 18.04.2014.
 */
public class UserDto {

    private long id;
    //private String username;
    private String password;
    private String oldPassword;
    private boolean enabled;
//    private boolean informed;
//    private boolean wasInformed;
    private String email;
    private FolderDto folder;
    private UserGroupDto userGroup;

    public UserDto() {
        super();
    }

    public UserDto(UserDto user) {
        this.id = user.getId();
        this.enabled = user.getEnabled();
        this.email = user.getEmail();
        this.folder = user.getFolder();
        this.userGroup = user.getUserGroup();
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public FolderDto getFolder() {
        return folder;
    }

    public void setFolder(FolderDto folder) {
        this.folder = folder;
    }

    public UserGroupDto getUserGroup() {
        return userGroup;
    }

    public void setUserGroup(UserGroupDto userGroup) {
        this.userGroup = userGroup;
    }

}
